<!-- Footer -->
<footer>
	<center>
		<p> Copyright &copy; 2013 VIHA.ORG.VN </p>
	</center>
</footer>
<!-- End Footer -->

<script src="<?= $this->webroot ?>assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

<!---->
<script type="text/javascript" src="<?= $this->webroot ?>js/functions.js"></script>
<script type="text/javascript" src="<?= $this->webroot ?>js/user.js"></script>

<script type="text/javascript">
	$(document).ready(function(e) {
		user.start();
	});
</script>

<?php if($controller == 'contacts'):?>
<!--<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>-->
<script src="<?= $this->webroot ?>assets/plugins/gmaps/mapAPI.js" type="text/javascript"></script>
<script src="<?= $this->webroot ?>assets/plugins/gmaps/gmaps.js" type="text/javascript"></script>
<script type="text/javascript">
	var lat = <?= $map['Map']['lat'];  ?>;
	var lng = <?= $map['Map']['lng']; ?>;
	var address = '<?= $map["Map"]["address"]; ?>';
	$(document).ready(function(e) {
		user.googleMap(lat, lng, address);
	});
</script>
<?php endif; ?>